﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    [Serializable]
    public class Accounts_Users
    {
        public Accounts_Users()
        { }
        #region Model
        private int _userid;
        private string _username;
        private byte[] _password;
        private string _truename;
        private int _depid;
        private string _sex;
        private string _birth;
        private string _addr;
        private string _tel;
        private string _email;
        private string _qq;
        private string _school;
        private DateTime _inputtime;
        private DateTime _drivetime;
        private string _hometel;
        private bool _state;
        private int _roleid;
        /// <summary>
        /// 
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public byte[] Password
        {
            set { _password = value; }
            get { return _password; }
        }
        public byte[] NewPassword { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TrueName
        {
            set { _truename = value; }
            get { return _truename; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int DepID
        {
            set { _depid = value; }
            get { return _depid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Birth
        {
            set { _birth = value; }
            get { return _birth; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Addr
        {
            set { _addr = value; }
            get { return _addr; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Tel
        {
            set { _tel = value; }
            get { return _tel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string QQ
        {
            set { _qq = value; }
            get { return _qq; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string School
        {
            set { _school = value; }
            get { return _school; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime InputTime
        {
            set { _inputtime = value; }
            get { return _inputtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime DriveTime
        {
            set { _drivetime = value; }
            get { return _drivetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string HomeTel
        {
            set { _hometel = value; }
            get { return _hometel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int RoleId
        {
            set { _roleid = value; }
            get { return _roleid; }
        }

        private string _cartype;

        /// <summary>
        /// 准驾车型
        /// </summary>
        public string CarType
        {
            set { _cartype = value; }
            get { return _cartype; }
        }

        /// <summary>
        /// 用户图片
        /// </summary>
        public byte[] UserImage { get; set; }

        /// <summary>
        /// 驾照图片
        /// </summary>
        public byte[] DriverImage { get; set; }

        public int CustomID { get; set; }

        public string CustomerCode { get; set; }

        public string CustomerName { get; set; }

        /// <summary>
        /// 用户角色名称
        /// </summary>
        public string RoleName { get; set; }

        #endregion Model

    }
}
